package com.dp.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dp.common.annotation.Excel;
import com.dp.common.core.domain.BaseEntity;

/**
 * 大棚对象 sys_greenhouse
 * 
 * @author ruoyi
 * @date 2025-02-10
 */
public class SysGreenhouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 大棚ID */
    private Long greenhouseId;

    /** 大棚名称 */
    @Excel(name = "大棚名称")
    private String name;

    /** 位置 */
    @Excel(name = "位置")
    private String location;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    public void setGreenhouseId(Long greenhouseId) 
    {
        this.greenhouseId = greenhouseId;
    }

    public Long getGreenhouseId() 
    {
        return greenhouseId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("greenhouseId", getGreenhouseId())
            .append("name", getName())
            .append("location", getLocation())
            .append("description", getDescription())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
